<template>
  <div>
    <el-descriptions class="margin-top" :column="3" border>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-user"></i>
          日志主键
        </template>
        {{ infoObject.operId }}
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-user"></i>
          模块名称
        </template>
        {{ infoObject.title }}
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-user"></i>
          业务类型
        </template>
        <dict-tag :value="infoObject.businessType" :data-list="typeOptions"></dict-tag>
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-tickets"></i>
          状态
        </template>
        <el-tag size="small">
          <dict-tag :value="infoObject.status" :data-list="statusOptions"></dict-tag>
        </el-tag>
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-user"></i>
          请求方式
        </template>
        {{ infoObject.requestMethod }}
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-mobile-phone"></i>
          操作人员
        </template>
        {{ infoObject.operName }}
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-message"></i>
          请求地址
        </template>
        {{ infoObject.operUrl }}
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-user"></i>
          主机地址
        </template>
        <el-tag size="small">
          {{ infoObject.operIp }}
        </el-tag>
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-user"></i>
          操作地点
        </template>
        <el-tag size="small">
          {{ infoObject.operLocation }}
        </el-tag>
      </el-descriptions-item>

      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-picture-outline-round"></i>
          请求参数
        </template>
          {{ infoObject.operParam }}
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-tickets"></i>
          返回参数
        </template>
        {{ infoObject.jsonResult }}
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-s-custom"></i>
          错误消息
        </template>
        {{ infoObject.errorMsg }}
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-tickets"></i>
          操作时间
        </template>
        {{ infoObject.operTime }}
      </el-descriptions-item>
      <el-descriptions-item>
        <template slot="label">
          <i class="el-icon-s-custom"></i>
          方法名称
        </template>
        {{ infoObject.method }}
      </el-descriptions-item>
    </el-descriptions>
  </div>
</template>

<script>
export default {
  name: "sys-oper-log-info.vue",
  props:{
    infoObject:{
      type:Object,
      default:undefined
    },
    statusOptions:{
      type:Object,
      default:undefined
    },
    typeOptions:{
      type:Object,
      default:undefined
    }
  }
}
</script>

<style scoped>

</style>
